/*
 * $Id$
 */
package corejs.expr;

import corejs.rt.ActivationRecord;
import corejs.rt.Array;

import corejs.util.XmlPrinter;
import java.util.ArrayList;

/**
 *
 * @author myang
 */
public class ArrayExpr extends ArrayList<Expression> implements Expression {

   public ArrayExpr(final Expression e) {
      ExpressionUtil.toList(this, e);
   }
   
   @Override
   public void print(final XmlPrinter printer) {
   }

   @Override
   public Object eval(final ActivationRecord scope) {
      return null;
   }

   @Override
   public Array accept(final ExpressionVisitor visitor) {
      return visitor.visitArray(this);
   }
   
}
